package com.party.api.dto.idcard.response;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 身份证验证结果
 * Created by wei.li
 *
 * @date 2017/9/15 0015
 * @time 18:50
 */
public class IdcardVerifyResult {

    //验证标示 0：匹配 1：身份证与姓名不匹配 2：无此身份证号码
    private Integer code;

    //验证描述
    private String msg;

    //籍贯地址
    private String address;

    //生日
    private String birthday;

    //调用错误时的描述
    private String error;

    //性别：M为男性，F为女性
    private String sex;

    //调用成功与否，0为成功，去他值为失败
    @JSONField(name = "ret_code")
    private Integer retCode;


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public Integer getRetCode() {
        return retCode;
    }

    public void setRetCode(Integer retCode) {
        this.retCode = retCode;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
}
